package com.css.casualties.mapper.pop.service;

import com.baomidou.dynamic.datasource.toolkit.DynamicDataSourceContextHolder;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.css.casualties.mapper.pop.mapper.PopGridMapper;
import com.css.datasourceSwitch.entity.ProvinceDS;
import com.css.entity.DataPop;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * @author Dbj
 * @date 2024年09月18日  13:52
 */
@Service
public class PopService extends ServiceImpl<PopGridMapper, DataPop> {

    public List<DataPop> getByGeom(String geom, String code,String dataSourceKey) {
        return this.baseMapper.getByGeom(geom,code);
    }
}
